#ifndef _HMAC_HPP_20120719
#define _HMAC_HPP_20120719

#include <string>
#include <stddef.h>

namespace crypto
{
	class Hmac
	{
		public :
			static int sha1(const void * key, size_t keylen, 
						const void * in, size_t inlen, std::string & resstr);

			static int md5(const void *key, size_t keylen,
						const void *in, size_t inlen, std::string & resstr);
	};
};

#endif

